﻿using System;

namespace Tesseract.DataAccessBase.Attributes
{
    /// <summary>
    /// Defines the connection string name located in the config file.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    public class ConnectionName : Attribute
    {
        public string Name
        {
            get;
            private set;
        }

        public ConnectionName(string connectionName)
        {
            Name = connectionName;
        }
    }
}
